<?php

class Public_Post_WriteSuccessView extends BlogPublicBaseView
{
	public function executeHtml(AgaviRequestDataHolder $rd)
	{
		$post = $this->getAttribute('post');
        /* @var $model Public_PostsModel */
		$model = $this->getContext()->getModel('Posts', 'Public');
		$route_elements = $model->getPostCoordinates($post);
		
		$this->setRoutingRedirect('post.view', $route_elements);
	}
}

?>